<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>EDOC 电器文档管理系统- {L('member','','member').L('manage_center')}</title>

<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script type="text/javascript" src="{JS_PATH}cookie.js"></script>
<script type="text/javascript" src="{JS_PATH}member_common.js"></script>
<script type="text/javascript" src="{JS_PATH}dialog.js"></script>
<script type="text/javascript" src="{JS_PATH}formvalidator.js" charset="UTF-8"></script>
<script type="text/javascript" src="{JS_PATH}formvalidatorregex.js" charset="UTF-8"></script>

<!--引入AdminLTE css和js问价-->
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
        <!-- bootstrap 3.0.2 -->
        <link href="{LTE_PATH}css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <!-- font Awesome -->
        <link href="{LTE_PATH}css/font-awesome.min.css" rel="stylesheet" type="text/css" />
           <!-- Theme style -->
        <link href="{LTE_PATH}css/AdminLTE.css" rel="stylesheet" type="text/css" />
        
               <!-- jQuery 2.1.1 -->
        <script src="{LTE_PATH}js/jquery-2.1.1.min.js" type="text/javascript"></script>
        <!-- jQuery UI 1.10.3 -->


<script language="JavaScript">
<!--
$(function(){
//	$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
//	$("#username").formValidator({onshow:"{L('input').L('username')}",onfocus:"{L('between_2_to_20')}"}).inputValidator({min:2,max:20,onerror:"{L('between_2_to_20')}"}).regexValidator({regexp:"ps_username",datatype:"enum",onerror:"{L('username').L('format_incorrect')}"});
//	$("#password").formValidator({onshow:"{L('input').L('password')}",onfocus:"{L('password').L('between_6_to_20')}"}).inputValidator({min:6,max:20,onerror:"{L('password').L('between_6_to_20')}"});

});
//-->
</script>

<link href="{CSS_PATH}dialog_simp.css" rel="stylesheet" type="text/css" />

</style>
</head>
 <body class="bg-black" style="min-height: 100%;">

  <div class="form-box" id="login-box">
  	
            <div class="header">{L('member').L('login')}</div>
            <form method="post" action="" onsubmit="save_username();" id="myform" name="myform">
                <div class="body bg-gray">
                    <div class="form-group">
                    	<label>{L('username')}：</label>
                        <input type="text" id="username" name="username" class="form-control" placeholder="用户名"/>
                    </div>
                    <div class="form-group">
                    	<label>{L('password')}：</label>
                        <input type="password" id="password" name="password" class="form-control" placeholder="密码"/>
                    </div>          
                    <div class="form-group">
                        <input type="checkbox" name="cookietime" value="2592000" id="cookietime"> {L('remember')}{L('username')}
                    </div>
                </div>
               <div class="footer">                                                                           
                    <input type="submit" class="btn bg-olive btn-block" name="dosubmit" id="dosubmit" value="{L('login')}">
                    <!--<p><a href="index.php?m=member&c=index&a=public_get_password_type&siteid={$siteid}" >{L('forgetpassword')}</a></p>
                    
                    <a href="{APP_PATH}index.php?m=member&c=index&a=register&siteid={$siteid}" class="text-center">注册新会员</a>-->
               		欢迎使用本系统，注册请联系谭浩 83388353.
               </div>
            </form>

        </div>



<script language="JavaScript">
<!--

	$(function(){
		$('#username').focus();
	})

	function save_username() {
		if($('#cookietime').attr('checked')==true) {
			var username = $('#username').val();
			setcookie('username', username, 3);
		} else {
			delcookie('username');
		}
	}
	var username = getcookie('username');
	if(username != '' && username != null) {
		$('#username').val(username);
		$('#cookietime').attr('checked',true);
	}


//-->
</script>
</body>
</html>
